/*
 * uart.h
 *
 * Created: 2012.11.22. 14:01:23
 *  Author: some00
 */ 

#ifndef UART_H_
#define UART_H_

#define FOSC 16000000UL // Clock Speed
#define BAUD 9600
#define MYUBRR FOSC/16/BAUD-1


int RxBufferGet(char *c);

void USART_putInt(int number);

void USART_Init( unsigned int ubrr);
void USART_Transmit( unsigned char data ) ;
int USART_Receive(char *c);

#endif /* UART_H_ */